.sendPromise(method[, params])
Promise
object with response data
Parameters
method
required The Boxo JS SDK method
params
optional Message data object
Example
.send(method[, params])
method
required The Boxo JS SDK methodparams
optional Message data object.subscribe(fn)
fn
required Function to be subscribed to events
Example
.unsubscribe(fn)
.supports(method)
method
required The Boxo JS SDK method.isWebView()
true
if Boxo JS SDK is running in mobile app, or false
if not